package com.yonyou.openapi.service.fileup;


import com.yonyou.openapi.base.response.ApiDataResponse;
import com.yonyou.openapi.service.BaseOpenApi;
import com.yonyou.openapi.service.OpenApiURL;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.util.Map;

/**
 * @author nishch
 * @description: TODO 协同文件上传
 * @date 2022/3/10
 */
@Component
public class FileUpApi extends BaseOpenApi {

    public String upload(String filePath,Map<String,String> header) throws IOException {
        return file(OpenApiURL.USPACE_FILE_UP, filePath,header);
    }


}
